package chapter02;

public class Example08 {
    public  static void main(String[] args) {
        int num = 18;
        if(num % 2== 0){
            System.out.println("num是一个偶数");
        }else{
            System.out.println("num是一个奇数");
        }
    }
}
